'Declaration
Public Overloads Shared Function Apply( _ ByVal worksheet As IWorksheet, _ ByVal ranges() As Reference, _ ByVal style As BuiltInStyle _ ) As CellStyleCommand
'Usage
Dim worksheet As IWorksheet Dim ranges() As Reference Dim style As BuiltInStyle Dim value As CellStyleCommand value = CellStyleCommand.Apply(worksheet, ranges, style)
public static CellStyleCommand Apply( IWorksheet worksheet, Reference[] ranges, BuiltInStyle style )
Parameters
- worksheet
- The worksheet which this command attached to.
- ranges
- The GrapeCity.Spreadsheet.Reference array represents the ranges of cells will be applied.
- style
- The style is to apply to the specified ranges.